<script setup lang="ts">
  import { IconSymbolPropsType } from './types'

  defineOptions({
    name: 'SIconSymbol'
  })

  withDefaults(defineProps<IconSymbolPropsType>(), {})
</script>

<template>
  <svg class="s-icon-symbol" :class="className" :style="style" :aria-hidden="true">
    <use v-bind="{ 'xlink:href': icon }"></use>
  </svg>
</template>

<style lang="scss">
  @use './style' as *;
</style>
